﻿using Autofac;
using SXICE.Core.Models;
using System;
using System.Collections.Generic;
using System.Text;

namespace SXICE.Core.Infrastructure
{
    /// <summary>
    /// PMP模块
    /// </summary>
    public interface IModule
    {
        /// <summary>
        /// 注册
        /// </summary>
        /// <param name="container">容器</param>
        void Register(ContainerBuilder container);

        /// <summary>
        /// 初始化
        /// </summary>
        void Init();

        /// <summary>
        /// 启动
        /// </summary>
        void Start();

        /// <summary>
        /// 停止
        /// </summary>
        void Stop();

        /// <summary>
        /// 获取模块信息
        /// </summary>
        /// <returns>模块信息</returns>
        ModuleInfo GetModuleInfo();
    }
}
